package com.aaa.sso.service;

import com.aaa.common.util.Result;

/**
 * @Author: YuXin
 * @Date : Created in 2020/11/12 17:08
 * @ClassName : UserService
 * @Description :
 * @Package_Name : com.aaa.sso.service
 */
public interface UserService {
    /**
     * 用户登录功能
     *
     * @param userName
     * @param password
     */
    Result userLogin(String userName, String password);

    /**
     * 检查token
     *
     * @param token
     */
    boolean checkToken(String token);

}
